package com.poetry.constant;

/**
 * 限制类型常量
 */
public class FormatConstant {
    public static final String EMAIL_PATTERN =
            "^[a-zA-Z0-9_+&*-]+(?:\\.[a-zA-Z0-9_+&*-]+)*@(?:[a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,7}$";
    public static final String REGEX =
            "^(?:(?=.*[0-9])(?=.*[a-zA-Z])|(?=.*[0-9])(?=.*[^\\w\\s])|(?=.*[a-zA-Z])(?=.*[^\\w\\s])).+$";
}
